/**
 * 
 */
package STUDENTS.DANGTIENLONG.OOPS;

/**
 * @author Tien Long
 *
 */
public class TaoRaDoiTuong01 {
	public static void main(String[] args) {
		Students SV01;
		Students SV02;
		Students SV03;
		Students SV04;
		
		SV01 = new Students();
		SV02 = new Students();
		SV03 = new Students();
		SV04 = new Students();
		
		SV01.setStuID("SV01");
		SV01.setFullName("Hoang Van Thanh");
		SV01.setEmail("abc@gmail.com");
		SV01.setPhone("12345678");
		
		SV02.setStuID("SV02");
		SV02.setFullName("Pham Thi Thuy Linh");
		SV02.setEmail("abc@gmail.com");
		SV02.setPhone("12345678");
		
		SV03.setStuID("SV03");
		SV03.setFullName("Tran Van Hieu");
		SV03.setEmail("abc@gmail.com");
		SV03.setPhone("12345678");
		
		SV04.setStuID("SV04");
		SV04.setFullName("Nguyen Van Hung");
		SV04.setEmail("abc@gmail.com");
		SV04.setPhone("12345678");
		
		System.out.println("---------SV01---------");
		System.out.println(" + StudentID: " + SV01.getStuID());
		System.out.println(" + Fullname: " + SV01.getFullName());
		System.out.println(" + Email: " + SV01.getEmail());
		System.out.println(" + Phone: " + SV01.getPhone());
		
		
		System.out.println("---------SV02---------");
		System.out.println(" + StudentID: " + SV02.getStuID());
		System.out.println(" + Fullname: " + SV02.getFullName());
		System.out.println(" + Email: " + SV02.getEmail());
		System.out.println(" + Phone: " + SV02.getPhone());
		
		System.out.println("---------SV03---------");
		System.out.println(" + StudentID: " + SV03.getStuID());
		System.out.println(" + Fullname: " + SV03.getFullName());
		System.out.println(" + Email: " + SV03.getEmail());
		System.out.println(" + Phone: " + SV03.getPhone());
		
		System.out.println("---------SV04---------");
		System.out.println(" + StudentID: " + SV04.getStuID());
		System.out.println(" + Fullname: " + SV04.getFullName());
		System.out.println(" + Email: " + SV04.getEmail());
		System.out.println(" + Phone: " + SV04.getPhone());
		
		SV01.setEmail("thanhhv@gmail.com");
		SV01.setPhone("0988 123 456");
		
		SV02.setEmail("linhptt@gmail.com");
		SV02.setPhone("0988 123 457");
		
		SV03.setEmail("hieutv@gmail.com");
		SV03.setPhone("0988 123 458");
		
		SV04.setEmail("hungnv@gmail.com");
		SV04.setPhone("0988 123 459");
		
		System.out.println("\n Update:");
		System.out.println("---------SV01---------");
		System.out.println(" + StudentID: " + SV01.getStuID());
		System.out.println(" + Fullname: " + SV01.getFullName());
		System.out.println(" + Email: " + SV01.getEmail());
		System.out.println(" + Phone: " + SV01.getPhone());
		
		
		System.out.println("---------SV02---------");
		System.out.println(" + StudentID: " + SV02.getStuID());
		System.out.println(" + Fullname: " + SV02.getFullName());
		System.out.println(" + Email: " + SV02.getEmail());
		System.out.println(" + Phone: " + SV02.getPhone());
		
		System.out.println("---------SV03---------");
		System.out.println(" + StudentID: " + SV03.getStuID());
		System.out.println(" + Fullname: " + SV03.getFullName());
		System.out.println(" + Email: " + SV03.getEmail());
		System.out.println(" + Phone: " + SV03.getPhone());
		
		System.out.println("---------SV04---------");
		System.out.println(" + StudentID: " + SV04.getStuID());
		System.out.println(" + Fullname: " + SV04.getFullName());
		System.out.println(" + Email: " + SV04.getEmail());
		System.out.println(" + Phone: " + SV04.getPhone());
	}
}
